package com.cyx.spring.jdbc.rowmapper;

import java.sql.ResultSet;

/**
 * NumberMapper
 *
 * @author yongxiang
 * @date 2024/10/25 9:46
 * @desc
 */
public class NumberMapper implements RowMapper<Number>{


    @Override
    public Number mapRow(ResultSet rs) throws Exception {
        return rs.getObject(1,Number.class);
    }
}
